import dt from '@dt/dt'
import table from '@/components/dt/table/render.js'
import nameOpt from '@/biz/option/name.js'

function options1(_this) {
  return [{
      type: 'index',
      title: '序号',
      minWidth: 60
    },
    {
      field: 'commissionMonth',
      title: '产品名称',
      minWidth: 100
    },
    {
      field: 'settlementTypeStr',
      title: '房源名称',
      minWidth: 150
    },
    {
      field: '在销激励总额(元)',
      title: '工号',
      minWidth: 150,
    },
    {
      field: 'roomCount',
      title: '姓名',
      minWidth: 80
    },
    {
      field: 'sumArea',
      title: '岗位',
      minWidth: 120,
    },
    {
      field: 'sumAmount',
      title: '职级',
      minWidth: 140,
    },
    {
      field: 'preCommissionAmount',
      title: '应付奖金（元）',
      minWidth: 140,
    },
  ]
}

function options2(_this) {
  return [{
      type: 'index',
      title: '序号',
      minWidth: 60
    },
    {
      field: 'commissionMonth',
      title: '工号',
      minWidth: 100
    },
    {
      field: 'settlementTypeStr',
      title: '姓名',
      minWidth: 150
    },
    {
      field: '在销激励总额(元)',
      title: '在职状态',
      minWidth: 150,
    },
    {
      field: 'roomCount',
      title: '岗位',
      minWidth: 80
    },
    {
      field: 'sumArea',
      title: '应付奖金（语言）',
      minWidth: 120,
    }
  ]
}

export default {
  options1,
  options2
}